package com.wzd.shoppingService.model.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 
 *
 * @author WeiZiDong
 */
@Table(name = "`sys_sms_template`")
@Data
@ApiModel("")
public class SysSmsTemplate implements Serializable {
    @Id
    @Column(name = "`id`")
    @ApiModelProperty(value = "主键", example = "String")
    private String id;
    @Column(name = "`template_name`")
    @ApiModelProperty(value = "模板标题", example = "String")
    private String templateName;
    @Column(name = "`template_code`")
    @ApiModelProperty(value = "模板CODE", example = "String")
    private String templateCode;
    @Column(name = "`template_type`")
    @ApiModelProperty(value = "模板类型：1短信2邮件3微信", example = "String")
    private String templateType;
    @Column(name = "`template_content`")
    @ApiModelProperty(value = "模板内容", example = "String")
    private String templateContent;
    @Column(name = "`template_test_json`")
    @ApiModelProperty(value = "模板测试json", example = "String")
    private String templateTestJson;
    @Column(name = "`create_time`")
    @ApiModelProperty(value = "创建日期", example = "2019-05-05 17:55:31")
    private Date createTime;
    @Column(name = "`create_by`")
    @ApiModelProperty(value = "创建人登录名称", example = "String")
    private String createBy;
    @Column(name = "`update_time`")
    @ApiModelProperty(value = "更新日期", example = "2019-05-05 17:55:31")
    private Date updateTime;
    @Column(name = "`update_by`")
    @ApiModelProperty(value = "更新人登录名称", example = "String")
    private String updateBy;

    private static final long serialVersionUID = 1L;
}
